<ul id="nav">
  <li<?php echo $module == 'sfSocialMessage' ? ' class="active"' : '' ?>>
    <?php echo link_to(__('messages', null, 'sfSocial'), '@sf_social_message_list') ?>
  </li>
  <li<?php echo $module == 'sfSocialContact' ? ' class="active"' : '' ?>>
    <?php echo link_to(__('contacts', null, 'sfSocial'), '@sf_social_contact_list') ?>
  </li>
  <li<?php echo $module == 'sfSocialEvent' ? ' class="active"' : '' ?>>
    <?php echo link_to(__('events', null, 'sfSocial'), '@sf_social_event_list') ?>
  </li>
  <li<?php echo $module == 'sfSocialGroup' ? ' class="active"' : '' ?>>
    <?php echo link_to(__('groups', null, 'sfSocial'), '@sf_social_group_list') ?>
  </li>
</ul>